// import { Application } from 'egg';
import * as fileConfig from '../../config.json';

export default {
  constants: {
    /** http 请求默认超时时间 */
    HTTP_REQUEST_DEFAULT_TIMEOUT: 30000,
    config: fileConfig,
    BILL: 'bill',
    DB_BILL_SYSTEM_MAIL_SEND: 'bill_system_mail_send',
    DB_BI_REPORT_COUNT: 'bi_report_count',
    DB_PLATFORM_ACCOUNT: 'platform_account',
    COLL_APP_EXTENSION_CONFIG: 'app_extension_config',
    COLL_APP_ROLE: 'app_role',
    COLL_PLATFORM_DEPARTMENT: 'platform_department',
    COLL_PLATFORM_USER: 'platform_user',
    COLL_OPTIONDIC: 'app_optiondic',
    COLL_BUSINESS_FLOW_FIELD: 'account_business_flow_field',
    COLL_BUSINESS_FLOW_STEP: 'account_business_flow_step',
    COLL_BUSINESS_FLOW: 'account_business_flow',
    DB_PLATFORM_ACCOUNT_PRODUCT: 'platform_account_product',
    DB_CUSTOMER: '_customer',
  },
  mock: {
    pbx: '',
    connect_types: [],
    status_dialout: [],
    status_normal: [],
    status_trans: [],
    agents: [],
    peers: [],
    skills: {},
    satisfied: [],
    account: '',
    serviceNo: '08316000002',
    customers: [{id: '', name: 'nihao'}, {id: '000000', name: '未知客户' }],
    investigates: [],
    sqlids: [],
    labels: [],
    address: {},
    transfer_modes: [],
    time_solt: [],
    dataDB: '',
    table: '',
  },
};
